Overview of available command line switches:
-macro mymacro
Set the macro name.
-loop <x>
Use the "LOOP" function instead of "PLAY". The number of loops is set to <x>. Example: with "-loop 20" the macro will run 20 times.
Tip: The Windows scripting interface allows you a much finer control over loops. Use for example:
set iim1= CreateObject ("iimwsh.iim")
i = iim1.iimInit
for m = 1 to 5
i = iim1.iimPlay("mymacro")
next
i = iim1.iimExit
-noexit
If IIM is started via the "-macro" command line, IIM closes after the macro is completed. If you want to keep IIM open, use the "-noexit" switch. A typical use of this would be if IIM handles a login for you and you want to continue to work in the browser window.
-var1 Hello[SP]World!
-var2 Hello[SP]World!
-var3 Hello[SP]World!
-datasource mydatasource.
Set the built-in variables
-var_myvar Tom[SP]Tester
Create and define a new variable with the name "myvar". You can create up to 100 user defined variables.